import { RouterModule } from '@angular/router';

import { AddpatientComponent } from './addpatient/addpatient.component';
import { EditpatientComponent } from './editpatient/editpatient.component';

export const PatientRoutes = [
  {
    path: '',
    redirectTo: 'addpatient',
    pathMatch: 'full'
  },
  {
    path: 'addpatient',
    component: AddpatientComponent
  },
  {
    path: 'editpatient',
    component: EditpatientComponent
  }
];
